/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package mx.its.dsw2.biblioteca.bl;

import java.util.List;
import javax.ejb.EJB;
import javax.ejb.Stateless;
import mx.its.dsw2.biblioteca.dao.DetallePrestamoDaoLocal;
import mx.its.dsw2.biblioteca.modelo.DetallePrestamo;
import mx.its.dsw2.biblioteca.modelo.Prestamo;

/**
 *
 * @author 100101
 */
@Stateless
public class DetallePrestamoBl implements DetallePrestamoBlLocal {
    @EJB
    private DetallePrestamoDaoLocal detallePrestamoDao;

    // Add business logic below. (Right-click in editor and choose
    // "Insert Code > Add Business Method")

    @Override
    public List<DetallePrestamo> getListDetailByLend(Prestamo lend) {
        List<DetallePrestamo> lista=detallePrestamoDao.getListDetalleByLend(lend);
        return lista;
    }
    
    
    

}
